package com.example.sourcesprng._jvm._xss;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

@RestController
@RequestMapping("/xss")
public class JvmXssTest {

    @RequestMapping("/xss-test")
    public void xssTest() {
        for (int i = 0; i < 100000; i++) {
            Xss xss = new Xss();
            xss.setName("xss_" + i);
            xss.setId(UUID.randomUUID().toString());
        }

    }
}
